package com.itany.corejava.day10;

import java.util.Stack;

public class MyStack<E> {
    private Stack<E> s;

    public MyStack() {
        s=new Stack<>();
    }

    public E push(E item){
        return s.push(item);
    }

    public E pop(){
        return s.pop();
    }

    public int size(){
        return s.size();
    }

}
